package com.example.threaddemo.t18;

/**
 * @Author：wlz
 * @Package：com.example.threaddemo.t18.MyThread
 * @Project：threaddemo
 * @name：MyThread
 * @Date：2023/3/30 22:40
 * @Filename：MyThread
 */
public class MyThread extends Thread{
    @Override
    public void run() {
        System.out.println("MyThread1 run priority"+this.getPriority());
        MyThread2 thread2 = new MyThread2();
        thread2.start();
    }
}
